package org.product.factory;

import org.product.dao.ProductDao;
import org.product.dao.UserDao;
import org.product.dao.impl.ProductDao4MySQLImpl;
import org.product.dao.impl.UserDao4MySQLImpl;

/**
 * @author zqx
 * @date 2020-12-23
 */
public class DaoFactory {
    public static ProductDao getProductDaoInstance() {
        return new ProductDao4MySQLImpl() ;
    }

    public static UserDao getUserDaoInstance() {
        return new UserDao4MySQLImpl() ;
    }
}
